package com.cykj.service;

import com.cykj.util.ResponseDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PatientService {
    ResponseDto getAllPatient(int pageCurr, int pageSize);
    ResponseDto deletePatient(int patientId);
    ResponseDto alterInfo(int patientId, double patientMoney, int patientHeight, int patientWeight);
    ResponseDto selectByData(int sort, String value, int pageCurr, int pageSize);
    ResponseDto deleteUserByIds(List<Integer> ids);
    ResponseDto addCommit(String name, int age, String phone, String cardID, int height, int weight, String radio,int money);
    //int selectCount();
    //List<CyPatient> allPatient();
    //折线图年龄的和
    ResponseDto selectAgeCount(List<Integer> ages);
    //条形图不同年龄段的和
    ResponseDto selectMoneyCount(String age, String time1, String time2);
}
